/**
 * Created by maguoqing on 15/9/10.
 */
var mongodb = require('./db');

function Message(message) {
    this._id = message._id;
    this.user = message.user;
    this.msg = message.msg;
    this.time = new Date();
}

module.exports = Message;


